import request from '@/plugins/request';

export function userInfoSetting (data) {
    return request({
        url: 'v1/member/info',
        method: 'get',
        params: data
    });
}

export function uploadUserSetting (data) {
    return request({
        url: 'v1/member/update-info',
        method: 'post',
        data
    });
}

export function uploadImage (data) {
    return request({
        url: 'v1/file/images',
        method: 'post',
        data
    });
}

export function uploadPassWord (data) {
    return request({
        url: 'v1/member/update-password',
        method: 'post',
        data
    });
}
